
import Vue from 'vue'
import App from './App'
import router from './router'
import VueVideoPlayer from 'vue-video-player'
import 'video.js/dist/video-js.css'
import 'vue-video-player/src/custom-theme.css'
import 'videojs-flash'
import 'videojs-contrib-hls/dist/videojs-contrib-hls'
// import 'videojs-contrib-hls.js/src/videojs.hlsjs'

import pkg from '../package.json'
import Vant from 'vant';
import { Dialog } from 'vant';
import 'vant/lib/index.css';
import './utils/rem.js'
import ElementUI from 'element-ui';
import 'element-ui/lib/theme-chalk/index.css';
import clipboard from 'clipboard';
import Mint from 'mint-ui';
import 'mint-ui/lib/style.css'
Vue.use(Mint);
Vue.prototype.clipboard = clipboard
Vue.use(Vant);
Vue.config.productionTip = false
Vue.use(VueVideoPlayer)
Vue.use(ElementUI);
// 全局注册
Vue.use(Dialog);
/* eslint-disable no-new */
new Vue({
  el: '#app',
  router,
  template: '<App/>',
  components: { App }
})

console.log(`${pkg.name} v${pkg.version} is running`)
